//
//  RootLeftCell.m
//  XMLY
//
//  Created by 曾杰 on 15/11/10.
//  Copyright © 2015年 曾杰. All rights reserved.
//

#import "RootLeftCell.h"

@implementation RootLeftCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _iconImage = [[UIImageView alloc]initWithFrame:CGRectMake(5, 0, 20, 20)];
        [self.contentView addSubview:_iconImage];
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(40, 0, SCREEN_WIDTH-45, 20)];
        _titleLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_titleLabel];
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
